<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class GoodsCollection extends Model
{
    protected $fillable = [
      "goods_id",
    ];
    //
    public function goods(){
        return $this->belongsTo(Goods::class);
    }

    public function user(){
        return $this->belongsTo(User::class,"user_id");
    }
}
